<template>
  <div class="sugg">
    <el-form
      :model="ruleForm"
      ref="ruleForm"
      label-width="100px"
      class="demo-ruleForm loginForm goods-form"
    >
      <el-form-item label="联系方式" prop="nickName">
        <el-input
          placeholder="QQ / 微信 / 手机号 / 邮箱"
          v-model="ruleForm.contact"
        ></el-input>
      </el-form-item>
      <el-form-item
        label="建议"
        prop="phone"
        :rules="[
          { require: true, message: '请输入内容' },
          { min: 5, max: 200, message: '长度在 5 到 200 个字符' },
        ]"
      >
        <el-input
          type="textarea"
          :autosize="{ minRows: 8 }"
          placeholder="请输入建议或者投诉"
          v-model="ruleForm.text"
        >
        </el-input>
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
export default {
  name: "SuggestForm",
  data() {
    return {
      ruleForm: {
        contact: "",
        text: "",
      },
    };
  },
  computed: {},
  watch: {},

  methods: {},
  created() {},
  mounted() {},
  components: {},
};
</script>
<style scoped>
</style>